﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPCAFContrib.Entities.Consts
{
    public static partial class TypeInfo
    {
        public class WebTemplate
        {
            public string Title { get; set; }
            public int Id { get; set; }

            public IEnumerable<WebTemplateConfiguration> Configurations { get; set; }
        }

        public class WebTemplateConfiguration
        {
            public string Title { get; set; }
            public int Id { get; set; }
        }

        public static List<WebTemplate> WebTemplates = new List<WebTemplate>()
        {
            new WebTemplate
            {
                Title = "GLOBAL",
                Id = 0,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Global template"
                    }
                }
            },
            new WebTemplate
            {
                Title = "STS",
                Id = 1,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Team Site"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 1,
                        Title = "Blank Site"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 2,
                        Title = "Document Workspace"
                    }
                }
            },
            new WebTemplate
            {
                Title = "MPS",
                Id = 2,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Basic Meeting Workspace"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 1,
                        Title = "Blank Meeting Workspace"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 2,
                        Title = "Decision Meeting Workspace"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 3,
                        Title = "Social Meeting Workspace"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 4,
                        Title = "Multipage Meeting Workspace"
                    }
                }
            },
            new WebTemplate
            {
                Title = "CENTRALADMIN",
                Id = 3,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Central Admin Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "WIKI",
                Id = 4,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Wiki Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "BLOG",
                Id = 9,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Blog"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SGS",
                Id = 15,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Group Work Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "TENANTADMIN",
                Id = 16,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Tenant Admin Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "APP",
                Id = 17,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "App Template"
                    }
                }
            },
            new WebTemplate
            {
                Title = "APPCATALOG",
                Id = 18,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "App Catalog Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "ACCSRV",
                Id = 2764,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Access Services Site"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 1,
                        Title = "Assets Web Database"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 2,
                        Title = "Charitable Contributions Web Database"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 4,
                        Title = "Contacts Web Database"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 5,
                        Title = "Projects Web Database"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 6,
                        Title = "Issues Web Database"
                    }
                }
            },
            new WebTemplate
            {
                Title = "BDR",
                Id = 7,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Document Center"
                    }
                }
            },
            new WebTemplate
            {
                Title = "OFFILE",
                Id = 14483,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "(obsolete)Records Center"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 1,
                        Title = "Records Center"
                    }
                }
            },
            new WebTemplate
            {
                Title = "OSRV",
                Id = 40,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Shared Services Administration Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "PPSMASite",
                Id = 3100,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "PerformancePoint"
                    }
                }
            },
            new WebTemplate
            {
                Title = "BICenterSite",
                Id = 3200,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Business Intelligence Center"
                    }
                }
            },
            new WebTemplate
            {
                Title = "PWA",
                Id = 6221,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Project Web App Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "PWS",
                Id = 6215,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Microsoft Project Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SPS",
                Id = 20,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "SharePoint Portal Server Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SPSPERS",
                Id = 21,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "SharePoint Portal Server Personal Space"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SPSMSITE",
                Id = 22,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Personalization Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SPSTOC",
                Id = 30,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Contents area Template"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SPSTOPIC",
                Id = 31,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Topic area template"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SPSNEWS",
                Id = 32,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "News Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "CMSPUBLISHING",
                Id = 39,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Publishing Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "BLANKINTERNET",
                Id = 53,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Publishing Site"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 1,
                        Title = "Press Releases Site"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 2,
                        Title = "Publishing Site with Workflow"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SPSNHOME",
                Id = 33,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "News Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SPSSITES",
                Id = 34,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Site Directory"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SPSCOMMU",
                Id = 36,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Community area template"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SPSREPORTCENTER",
                Id = 38,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Report Center"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SPSPORTAL",
                Id = 47,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Collaboration Portal"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SRCHCEN",
                Id = 50,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Enterprise Search Center"
                    }
                }
            },
            new WebTemplate
            {
                Title = "PROFILES",
                Id = 51,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Profiles"
                    }
                }
            },
            new WebTemplate
            {
                Title = "BLANKINTERNETCONTAINER",
                Id = 52,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Publishing Portal"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SPSMSITEHOST",
                Id = 54,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "My Site Host"
                    }
                }
            },
            new WebTemplate
            {
                Title = "ENTERWIKI",
                Id = 56,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Enterprise Wiki"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SRCHCENTERLITE",
                Id = 90,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Basic Search Center"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 1,
                        Title = "Basic Search Center"
                    }
                }
            },
            new WebTemplate
            {
                Title = "SRCHCENTERFAST",
                Id = 2000,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "FAST Search Center"
                    }
                }
            },
            new WebTemplate
            {
                Title = "visprus",
                Id = 61,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Visio Process Repository"
                    }
                }
            },
            new WebTemplate
            {
                Title = "EDISC",
                Id = 3300,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "eDiscovery Center"
                    },
                    new WebTemplateConfiguration()
                    {
                        Id = 1,
                        Title = "eDiscovery Case"
                    }
                }
            },
            new WebTemplate
            {
                Title = "DOCMARKETPLACESITE",
                Id = 10000,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Academic Library"
                    }
                }
            },
            new WebTemplate
            {
                Title = "DEV",
                Id = 95,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Developer Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "PROJECTSITE",
                Id = 6115,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Project Site"
                    }
                }
            },
            new WebTemplate
            {
                Title = "PRODUCTCATALOG",
                Id = 59,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Product Catalog"
                    }
                }
            },
            new WebTemplate
            {
                Title = "COMMUNITYPORTAL",
                Id = 63,
                Configurations = new[]
                {
                    new WebTemplateConfiguration()
                    {
                        Id = 0,
                        Title = "Community Portal"
                    }
                }
            }
        };
    }
}
